﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MainArticleList.ascx.cs" Inherits="Controls_MainArticleList" %>
<asp:Repeater ID="MRep" runat="server" OnItemDataBound="MRep_ItemDataBound">
    <ItemTemplate>
    <div class="block">
    
<div class="blockBar"><a class="more" href="article/sort.aspx?sort=<%#DataBinder.Eval(Container.DataItem,"CID") %>" title="查看更多的<%#DataBinder.Eval(Container.DataItem,"CName") %>">查看更多</a><%#DataBinder.Eval(Container.DataItem,"CName") %></div>
  <div class="blockList">
  <ul class="mainlist">
        <asp:Repeater ID="CRep" runat="server">
            <ItemTemplate>
                <li><a href="article/?pid=<%#DataBinder.Eval(Container.DataItem,"postID") %>" target="_blank"><font><%#DataBinder.Eval(Container.DataItem,"Title") %></font></a></li>
            </ItemTemplate>
        </asp:Repeater>
  </ul>
        
 </div>
</div>
<div class="space clear"></div>
    </ItemTemplate>

</asp:Repeater>